package pin.db.schema.base;
import pin.db.schema.*;
import java.util.Hashtable;
import java.sql.Timestamp;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Collection;
import java.sql.SQLException;
import java.util.Vector;
public class UploadSpotBase{
	boolean[] modified=new boolean[9];
	public void resetModified(){
		for(boolean b:modified){
			b=false;
		}
	}
	private final Hashtable<String,Object> data=new Hashtable<String,Object>();
	public final void set(String columnNameDb, Object value){
		data.put(columnNameDb,value);
	}
	public final Object get(String columnNameDb){
		return data.get(columnNameDb);
	}
	public UploadSpotBase(){}
	public UploadSpotBase(java.lang.Long uploadSpotId,java.lang.Long files,java.lang.Long downloads,java.lang.Long totalSize,java.lang.Long usedSize,java.lang.Long totalBandwidth,java.lang.Long usedBandwidth,java.lang.Long projects,java.lang.String publicPolicy){
		setUploadSpotId(uploadSpotId);
		setFiles(files);
		setDownloads(downloads);
		setTotalSize(totalSize);
		setUsedSize(usedSize);
		setTotalBandwidth(totalBandwidth);
		setUsedBandwidth(usedBandwidth);
		setProjects(projects);
		setPublicPolicy(publicPolicy);
	}
	public void setUploadSpotId(java.lang.Long uploadSpotId){
		if(uploadSpotId!=null) {
			set("uploadSpotId",uploadSpotId);
			this.modified[0] =true;
		}
	}
	public java.lang.Long getUploadSpotId(){
		return (java.lang.Long)get("uploadSpotId");
	}
	public void setFiles(java.lang.Long files){
		if(files!=null) {
			set("files",files);
			this.modified[1] =true;
		}
	}
	public java.lang.Long getFiles(){
		return (java.lang.Long)get("files");
	}
	public void setDownloads(java.lang.Long downloads){
		if(downloads!=null) {
			set("downloads",downloads);
			this.modified[2] =true;
		}
	}
	public java.lang.Long getDownloads(){
		return (java.lang.Long)get("downloads");
	}
	public void setTotalSize(java.lang.Long totalSize){
		if(totalSize!=null) {
			set("totalSize",totalSize);
			this.modified[3] =true;
		}
	}
	public java.lang.Long getTotalSize(){
		return (java.lang.Long)get("totalSize");
	}
	public void setUsedSize(java.lang.Long usedSize){
		if(usedSize!=null) {
			set("usedSize",usedSize);
			this.modified[4] =true;
		}
	}
	public java.lang.Long getUsedSize(){
		return (java.lang.Long)get("usedSize");
	}
	public void setTotalBandwidth(java.lang.Long totalBandwidth){
		if(totalBandwidth!=null) {
			set("totalBandwidth",totalBandwidth);
			this.modified[5] =true;
		}
	}
	public java.lang.Long getTotalBandwidth(){
		return (java.lang.Long)get("totalBandwidth");
	}
	public void setUsedBandwidth(java.lang.Long usedBandwidth){
		if(usedBandwidth!=null) {
			set("usedBandwidth",usedBandwidth);
			this.modified[6] =true;
		}
	}
	public java.lang.Long getUsedBandwidth(){
		return (java.lang.Long)get("usedBandwidth");
	}
	public void setProjects(java.lang.Long projects){
		if(projects!=null) {
			set("projects",projects);
			this.modified[7] =true;
		}
	}
	public java.lang.Long getProjects(){
		return (java.lang.Long)get("projects");
	}
	public void setPublicPolicy(java.lang.String publicPolicy){
		if(publicPolicy!=null) {
			set("publicPolicy",publicPolicy);
			this.modified[8] =true;
		}
	}
	public java.lang.String getPublicPolicy(){
		return (java.lang.String)get("publicPolicy");
	}
}
